﻿using NHibernate.Search.Attributes;

namespace EasyCMMS.Services.Domain
{
    [Indexed(Index = "Customers")] 
    public class Customer :EntityBase<Customer>
    {
        public virtual int CustomerID { get; set; }

        [Field(Index.Tokenized, Store = Store.No, Name = "CompanyName")]
        public virtual string CompanyName { get; set; }
    }
}
